@import '~antd/es/style/themes/default.less';

.container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: auto;
  background: @layout-body-background;
}

.content {
  flex: 1;
  padding: 32px 0;
}

@media (min-width: @screen-md-min) {
  .container {
    background-repeat: no-repeat;
    background-position: center 110px;
    background-size: 100%;
  }

  .content {
    padding: 32px 0 24px;
  }
}

.top {
  text-align: center;
}

.header {
  //height: 44px;
  //line-height: 44px;

  a {
    text-decoration: none;
  }
}

.logo {
  width: 128px;
  height: 128px;
  margin-right: 16px;
  vertical-align: top;
}

.title {
  position: relative;
  top: 2px;
  //color: @heading-color;
  color: #fff;
  font-family: Baskerville, Georgia, "Liberation Serif", "Kaiti SC", STKaiti, "AR PL UKai CN", "AR PL UKai HK", "AR PL UKai TW", "AR PL UKai TW MBE", "AR PL KaitiM GB", KaiTi, KaiTi_GB2312, serif;
  font-size: 48px;
  font-weight: 600;
  margin-top: 5px;
}

.desc {
  margin-top: 12px;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.8);
  font-size: @font-size-base;
}


.main {
  width: 368px;
  margin: 20px auto 0 auto;
  @media screen and (max-width: @screen-sm) {
    width: 95%;
  }

  .login {

    :global {
      .ant-input-affix-wrapper {
        border-radius: 6px;
      }

      .ant-input, ant-button {
        font-weight: 500;
      }
    }

    .icon {
      margin-left: 16px;
      color: rgba(0, 0, 0, 0.2);
      font-size: 24px;
      vertical-align: middle;
      cursor: pointer;
      transition: color 0.3s;

      &:hover {
        color: @primary-color;
      }
    }

    .autoLogin {
      color: #fff;
    }

    .other {
      margin-top: 24px;
      line-height: 22px;
      text-align: left;

      .register {
        float: right;
      }
    }

    .prefixIcon {
      color: #1890ff;
      font-size: 18px;
    }

    .submit {
      width: 100%;
      margin-top: 24px;
      border-radius: 6px;
    }
  }

}

.footer {
  padding: 0;
  font-size: 14px;

  .footerx {
    margin: 48px 0 24px 0;
    padding: 0 16px;
    text-align: center;

    .footerLinks {
      margin-bottom: 8px;

      a {
        color: #fff;

        &:hover {
          color: #cd0200;
        }

        &:not(:last-child) {
          margin-right: 40px;
        }
      }
    }

    .footerCopyright {
      color: #fff;
      font-size: 14px;
    }
  }
}
